#include "kapplication.h"
#include "kmainwindow.h"
#include "kmaincontroller.h"

KApplication::KApplication(QObject* parent)
	:QObject(parent)
	,m_pMainWindow(new KMainWindow())
	,m_pMainController(new KMainController(m_pMainWindow,this))
{

}

KApplication::~KApplication()
{
	delete m_pMainWindow;
}

void KApplication::run()
{
	m_pMainWindow->show();
}
